package modelLayer;


public class OrderLine {
    private Product prod;
    private int quantity;
    
    public OrderLine(Product prod, int quantity) {
        this.prod = prod;
        this.quantity = quantity;
    }
    
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
    
    public int getQuantity(){ 
        return quantity;
    }
    
    public Product getProduct() {
        return prod;
    }
    
}
        